//
public class Zuoye2 {
	public static void main(String[] args) {
		int a[] = new int[31];
		for (int i = 0; i < a.length - 1; i++) {
			if (i == 0)
				a[i] = 1;
			a[i + 1] = a[i] * 2;

		}
		for (int i = 0; i < a.length; i++) {
			System.out.println(a[i]);
		}
	}
}
